import request from '@/utils/request';

export async function reqTyEtiologyCategoryList(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiologyCategory/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyEtiologyCategory(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiologyCategory/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyEtiologyCategory(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiologyCategory/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyEtiologyCategory(data: any, options?: any): Promise<any> {
	return request('/api/sys/etiologyCategory/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


